﻿* Encoding: UTF-8.


compute AttnCheck=0.
if (Q24_9=5) AttnCheck=1.

select if AttnCheck=1.


compute treatment=-1.
if (layout1eng>0) treatment=0.
if (layout1mix>0) treatment=1.
value labels treatment 0 'Undecided' 1 'Latino'.




****************************


recode Q71_3  (12=0)(11=.25)(10=.5)(9=.75)(8=1) into RepRepMe.
recode Q69_1 (1=1)(2=.75)(3=.5)(4=.25)(5=0) into HispIDDem.
compute HIDRRM=mean(RepRepMe, HispIDDem).
recode Q79 (11=1)(12=.75)(13=.5)(14=.25)(15=0) into RacialResentH.
recode Q70.0 (17=0)(16=.1666)(15=.3333)(14=.5)(13=.6666)(12=.8333)(11=1) into StatH.
recode Q24_1 (1=0)(2=.25)(3=.5)(4=.75)(5=1) into Intro.


recode Q18_1 (4=0)(3=.33)(2=.666)(1=1)(else=sysmis) into FavorHillary4.
recode Q18_2 (4=0)(3=.33)(2=.666)(1=1)(else=sysmis) into FavorTrump4.
recode Q18_1 (4=0)(3=.25)(5=.5)(2=.75)(1=1) into FavorHillary.
recode Q18_2 (4=0)(3=.25)(5=.5)(2=.75)(1=1) into FavorTrump.


recode Q20 (3=0)(2=.5)(1=1)(else=sysmis) into VoteHillary.
recode Q21 (3=0)(2=.5)(1=1)(else=sysmis) into VoteTrump.

recode Q19 (1=1)(else=0) into VoteNowHillary.
recode Q19 (2=1)(else=0) into VoteNowTrump.
recode Q19 (3=1)(else=0) into VoteNowJohnson.
recode Q19 (4=1)(else=0) into VoteNowStein.

compute HScale=mean(FavorHIllary, VoteHillary, VoteNowHIllary).

RELIABILITY
  /VARIABLES=FavorHillary VoteHillary VoteNowHillary
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA.


***********************************ANALYSES

***Manipulation check

compute LatinoFocus=0.
if (Q49=1) LatinoFocus=1.


UNIANOVA LatinoFocus BY  treatment 
  /print=descriptives
  /METHOD=SSTYPE(3) 
  /INTERCEPT=INCLUDE 
/plot=profile (treatment)
  /CRITERIA=ALPHA(0.05) .



****effects on favor hillary

UNIANOVA favorhillary BY  treatment 
  /print=descriptives
  /METHOD=SSTYPE(3) 
  /INTERCEPT=INCLUDE 
/plot=profile (treatment)
  /CRITERIA=ALPHA(0.05) .

****effects on vote hillary

UNIANOVA votehillary BY  treatment 
  /print=descriptives
  /METHOD=SSTYPE(3) 
  /INTERCEPT=INCLUDE 
/plot=profile (treatment)
  /CRITERIA=ALPHA(0.05) .



****effects on favor trump

UNIANOVA favortrump BY  treatment 
  /print=descriptives
  /METHOD=SSTYPE(3) 
  /INTERCEPT=INCLUDE 
/plot=profile (treatment)
  /CRITERIA=ALPHA(0.05) .

REGRESSION
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
/dependent favortrump
  /METHOD=ENTER treatment  .

****effects on vote trump

UNIANOVA votetrump BY  treatment 
  /print=descriptives
  /METHOD=SSTYPE(3) 
  /INTERCEPT=INCLUDE 
/plot=profile (treatment)
  /CRITERIA=ALPHA(0.05) .


**** Logistics:


LOGISTIC REGRESSION VARIABLES VoteNowHillary
  /METHOD=ENTER treatment
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

LOGISTIC REGRESSION VARIABLES VoteNowTrump
  /METHOD=ENTER treatment
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

LOGISTIC REGRESSION VARIABLES VoteNowJohnson
  /METHOD=ENTER treatment
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

LOGISTIC REGRESSION VARIABLES VoteNowStein
  /METHOD=ENTER treatment
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

****effects on racial resentment

UNIANOVA racialresentH BY  treatment 
  /print=descriptives
  /METHOD=SSTYPE(3) 
  /INTERCEPT=INCLUDE 
/plot=profile (treatment)
  /CRITERIA=ALPHA(0.05) .


****effects on status threat


UNIANOVA statH BY  treatment 
  /print=descriptives
  /METHOD=SSTYPE(3) 
  /INTERCEPT=INCLUDE 
/plot=profile (treatment)
  /CRITERIA=ALPHA(0.05) .

****effects on introjection / white id

UNIANOVA intro BY  treatment 
  /print=descriptives
  /METHOD=SSTYPE(3) 
  /INTERCEPT=INCLUDE 
/plot=profile (treatment)
  /CRITERIA=ALPHA(0.05) .



****effects of treatment on political prototypes - anova


UNIANOVA HIDRRM BY  treatment 
  /print=descriptives
  /METHOD=SSTYPE(3) 
  /INTERCEPT=INCLUDE 
/plot=profile (treatment)
  /CRITERIA=ALPHA(0.05) .


****effects of treatment on political prototypes - regression

REGRESSION
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
/dependent HIDRRM
  /METHOD=ENTER treatment  .



****effects of  political prototypes on Clinton Support- regression

REGRESSION
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
/dependent Hscale
  /METHOD=ENTER HIDRRM.


****Table 1 column 1

REGRESSION
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
/dependent HScale
  /METHOD=ENTER treatment.

****Table 1 column 2

REGRESSION
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
/dependent HScale
  /METHOD=ENTER treatment HIDRRM intro racialresentH statH.

****Table 1 column 3



REGRESSION
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
/dependent HScale
  /METHOD=ENTER treatment HIDRRM .






******************END

